package com.ktjy.service.impl;

import com.ktjy.mapper.SysRoleMapper;
import com.ktjy.pojo.SysRole;
import com.ktjy.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysRoleServiceImpl implements SysRoleService {
    @Autowired
    SysRoleMapper sysRoleMapper;

    @Override
    public List<SysRole> findAll() {
        return sysRoleMapper.selectList(null);
    }
}
